#{extends 'frameHome.html' /} #{set title:'Organization Tags' /}

<div id=main>

<hr> Organization tags </hr>




#{if tagList}
<form action= "@{Tags.tagSuccess(idea.id,01)}">

#{list items:tagList, as:'atag'}
#{if idea}
<li>
<input type="checkbox" name="Box" value=${atag.id}>${atag.name}
</li>

#{/if}

#{/list}
<input type="submit"></input>
</form>
#{/if} 
#{else} Sorry! This Organization has no Tags !! 
#{if organization.tagging==true}
<a href="@{Tags.insertTag(organization.id)}"class="pill button" target="innerframe" >Create a Tag</a>
#{/if}
#{else}
#{if userIsLead==true}
<a href="@{Tags.insertTag(organization.id)}"class="pill button" target="innerframe" >Create a Tag</a> 
 #{/if}
#{/else}
#{/else}


